#ifndef ICONFACTORY_H
#define ICONFACTORY_H

#include <QIcon>
#include <QSize>

class IconFactory
{
public:
    // 定义所有需要的图标类型
    enum IconType {
        SingleColumn,
        TwoColumns,
        ThreeColumns,
        ZoomIn,
        ZoomOut,
        Import,
        Export,
        FitHeight,
        FitWidth,
        SystemLogin,
        Settings
    };

    // 核心静态方法，用于创建图标
    static QIcon createIcon(IconType type, const QSize& size = QSize(32, 32));
};

#endif // ICONFACTORY_H